package com.entity;


import org.apache.ibatis.type.Alias;

@Alias("BaseLiked")
public class Liked extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 用户编号
	 */
	private String userId;

	/**
	 * 点赞表名
	 */
	private String likedTable;

	/**
	 * 点赞对象编号
	 */
	private String likedId;

	/**
	 * 点赞时间
	 */
	private String likedTime;


	public Liked () {
		super();
	}

	public Liked (String id,String userId,String likedTable,String likedId,String likedTime) {
		this.id = id;
		this.userId = userId;
		this.likedTable = likedTable;
		this.likedId = likedId;
		this.likedTime = likedTime;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getLikedTable() {
		return this.likedTable;
	}

	public void setLikedTable(String likedTable) {
		this.likedTable = likedTable;
	}

	public String getLikedId() {
		return this.likedId;
	}

	public void setLikedId(String likedId) {
		this.likedId = likedId;
	}

	public String getLikedTime() {
		return this.likedTime;
	}

	public void setLikedTime(String likedTime) {
		this.likedTime = likedTime;
	}

	@Override
	public String toString() {
		return "Liked[id=" + id+ ", userId=" + userId + ", likedTable=" + likedTable + ", likedId=" + likedId + ", likedTime=" + likedTime + "]";
	}


}

